package com.workManager.mapper;

import com.workManager.pojo.TdFunction;
import com.workManager.pojo.TdFunctionExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TdFunctionMapper {
    int countByExample(TdFunctionExample example);

    int deleteByExample(TdFunctionExample example);

    int deleteByPrimaryKey(Integer functionId);

    int insert(TdFunction record);

    int insertSelective(TdFunction record);

    List<TdFunction> selectByExample(TdFunctionExample example);

    TdFunction selectByPrimaryKey(Integer functionId);

    int updateByExampleSelective(@Param("record") TdFunction record, @Param("example") TdFunctionExample example);

    int updateByExample(@Param("record") TdFunction record, @Param("example") TdFunctionExample example);

    int updateByPrimaryKeySelective(TdFunction record);

    int updateByPrimaryKey(TdFunction record);

    List<TdFunction> query(@Param("cm")Map map);
}